package com.fu.web.mapper;

import com.fu.web.entity.patient;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component

public interface patientMapper {
    int deleteByPrimaryKey(String patientId);

    int insert(patient record);

    int insertSelective(patient record);
    List<patient> selectALl();
    patient selectByPrimaryKey(String patientId);

    int updateByPrimaryKeySelective(patient record);

    int updateByPrimaryKey(patient record);
}